#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_ActivityEight.nanopb.h"
#ifndef MAX_ACTIVITYEIGHT_INTEGRALEXCHANGE_NUM
#define MAX_ACTIVITYEIGHT_INTEGRALEXCHANGE_NUM 20
#endif

class ActivityEightIntegralExchangeDesc : public NFI_DESC_TEMPLATE_MACRO(ActivityEightIntegralExchangeDesc, E_ActivityEightIntegralExchange, EOT_CONST_ACTIVITYEIGHT_INTEGRALEXCHANGE_DESC_ID, MAX_ACTIVITYEIGHT_INTEGRALEXCHANGE_NUM)
public:
	ActivityEightIntegralExchangeDesc();
	virtual ~ActivityEightIntegralExchangeDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
